#include <iostream>
using namespace std;

class Base {
		int k;
		Base(int n): k(n) {}
};

class Big {
	public:
		int v;
		Base b;
		Big(int m, int n): Base(n), v(m) {}
		Big(const Big &x): v(x, v), b(x, b, k) {}
};

int main() {
	Big a1(5);
	Big a2 = a1;
	cout << a1.v << "," << a1.b.k << endl;
	cout << a1.v << "," << a2.b.k << endl;
	return 0;
}